import React from "react"


// 自定义组件
import BlankLayout from "../layouts/blankLayout/BlankLayout"
import Community from '../pages/community/Community'
import Mall from '../pages/mall/Mall'
import Main from '../pages/main/Main'
import Message from "../pages/message/Message"
import Me from '../pages/me/Me'
import NoMatch from '../common/noMatch/NoMatch'

export const routes = [
  {
    path: '/',
    element: <BlankLayout />,
    children: [
      {
        path: '/community',
        element: <Community />,

      },
      {
        path: '/mall',
        element: <Mall />,

      },
      {
        path: '/main',
        element: <Main />,

      },
      {
        path: '/message',
        element: <Message />,

      },
      {
        path: '/me',
        element: <Me />,

      },
      {
        path: '*',
        element: <NoMatch />,

      }

    ]
  }
]

